﻿using RefLib.MVC.JsonModels;
using Books.Model;

namespace Books.Interfaces
{
    public interface IPublisherApp
    {
        void DeletePublisher(int publisherId);
        PublisherModel GetPublisherById(int publisherId);
        FlexigridJsonModel.Response GetPublishers(FlexigridJsonModel.Request context);
        PublisherModel[] MatchPublishers(string publisherName, string city);
        int WritePublisher(PublisherModel model);
    }
}
